﻿using System;

namespace codeparser.net.v2.Entities
{
    /// <summary>
    /// Contains the methods for a tree node.
    /// </summary>
    internal interface ITreeNode
    {
        /// <summary>
        /// Gets or sets the parent node.
        /// </summary>
        /// <value>The parent node.</value>
        ITreeNode Parent
        {
            get;
            set;
        }

        /// <summary>
        /// Returns a string representation of the current node.
        /// </summary>
        /// <returns>A string representation.</returns>
        string ToString();
    }
}